<template lang="pug">
  .m-content
    .title 历史纪录
    .main
      .table
        tr-table( :data="data" :columns="columnsData" :filterWidth="260" )
          template(slot-scope="scope")
              el-button(type="text" icon="iconfont icon-bianji" ) 查看配置
      Pagination(:total="total" :page.sync="listQuery.page_no" :limit.sync="listQuery.page_size" @pagination="query" )
</template>
<script>
import Pagination from '@/components/Pagination'
let data = [{
  name: '专线新装',
  user: '张三',
  type: '天翼云-云主机-新装',
  startAt: '2018-12-23 14:23:00'
}]
export default {
  data () {
    return {
      data,
      columnsData: [
        { prop: 'name', label: '流程名称' },
        { prop: 'user', label: '创建人' },
        { prop: 'type', label: '流程类型' },
        { prop: 'startAt', label: '上线时间' }
      ],
      total: 0,
      listQuery: {
        page_no: 1,
        page_size: 10
      }
    }
  },
  components: {
    Pagination
  },
  methods: {
    query () {

    }
  }
}
</script>
